package com.mycom.service.impl;

import com.mycom.dao.RefuseConfirmReasonDao;
import com.mycom.pojo.RefuseConfirmReason;
import com.mycom.service.RefuseConfirmReasonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RefuseConfirmReasonServiceImpl implements RefuseConfirmReasonService {
    @Autowired
    private RefuseConfirmReasonDao refuseConfirmReasonDao;

    @Override
    public boolean save(RefuseConfirmReason refuseConfirmReason) {
        return refuseConfirmReasonDao.save(refuseConfirmReason) > 0 ? true : false;
    }
}
